//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class UserLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private String logIp;
    private String logUri;
    private String logType;
    private String logMethod;
    private String logParamData;
    private Long logCreateTime;
    private Long logReturnTime;
    private Integer logTimeConsume;
    private Long logUserId;
    private Integer logReturnCode;
    private Integer logIsPhone;
    private String logToken;
    private String logSource;

    public UserLog() {
    }

    public Long getId() {
        return this.id;
    }

    public String getLogIp() {
        return this.logIp;
    }

    public String getLogUri() {
        return this.logUri;
    }

    public String getLogType() {
        return this.logType;
    }

    public String getLogMethod() {
        return this.logMethod;
    }

    public String getLogParamData() {
        return this.logParamData;
    }

    public Long getLogCreateTime() {
        return this.logCreateTime;
    }

    public Long getLogReturnTime() {
        return this.logReturnTime;
    }

    public Integer getLogTimeConsume() {
        return this.logTimeConsume;
    }

    public Long getLogUserId() {
        return this.logUserId;
    }

    public Integer getLogReturnCode() {
        return this.logReturnCode;
    }

    public Integer getLogIsPhone() {
        return this.logIsPhone;
    }

    public String getLogToken() {
        return this.logToken;
    }

    public String getLogSource() {
        return this.logSource;
    }

    public UserLog setId(final Long id) {
        this.id = id;
        return this;
    }

    public UserLog setLogIp(final String logIp) {
        this.logIp = logIp;
        return this;
    }

    public UserLog setLogUri(final String logUri) {
        this.logUri = logUri;
        return this;
    }

    public UserLog setLogType(final String logType) {
        this.logType = logType;
        return this;
    }

    public UserLog setLogMethod(final String logMethod) {
        this.logMethod = logMethod;
        return this;
    }

    public UserLog setLogParamData(final String logParamData) {
        this.logParamData = logParamData;
        return this;
    }

    public UserLog setLogCreateTime(final Long logCreateTime) {
        this.logCreateTime = logCreateTime;
        return this;
    }

    public UserLog setLogReturnTime(final Long logReturnTime) {
        this.logReturnTime = logReturnTime;
        return this;
    }

    public UserLog setLogTimeConsume(final Integer logTimeConsume) {
        this.logTimeConsume = logTimeConsume;
        return this;
    }

    public UserLog setLogUserId(final Long logUserId) {
        this.logUserId = logUserId;
        return this;
    }

    public UserLog setLogReturnCode(final Integer logReturnCode) {
        this.logReturnCode = logReturnCode;
        return this;
    }

    public UserLog setLogIsPhone(final Integer logIsPhone) {
        this.logIsPhone = logIsPhone;
        return this;
    }

    public UserLog setLogToken(final String logToken) {
        this.logToken = logToken;
        return this;
    }

    public UserLog setLogSource(final String logSource) {
        this.logSource = logSource;
        return this;
    }

    public String toString() {
        return "UserLog(id=" + this.getId() + ", logIp=" + this.getLogIp() + ", logUri=" + this.getLogUri() + ", logType=" + this.getLogType() + ", logMethod=" + this.getLogMethod() + ", logParamData=" + this.getLogParamData() + ", logCreateTime=" + this.getLogCreateTime() + ", logReturnTime=" + this.getLogReturnTime() + ", logTimeConsume=" + this.getLogTimeConsume() + ", logUserId=" + this.getLogUserId() + ", logReturnCode=" + this.getLogReturnCode() + ", logIsPhone=" + this.getLogIsPhone() + ", logToken=" + this.getLogToken() + ", logSource=" + this.getLogSource() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof UserLog)) {
            return false;
        } else {
            UserLog other = (UserLog)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$logIp = this.getLogIp();
                Object other$logIp = other.getLogIp();
                if (this$logIp == null) {
                    if (other$logIp != null) {
                        return false;
                    }
                } else if (!this$logIp.equals(other$logIp)) {
                    return false;
                }

                Object this$logUri = this.getLogUri();
                Object other$logUri = other.getLogUri();
                if (this$logUri == null) {
                    if (other$logUri != null) {
                        return false;
                    }
                } else if (!this$logUri.equals(other$logUri)) {
                    return false;
                }

                label158: {
                    Object this$logType = this.getLogType();
                    Object other$logType = other.getLogType();
                    if (this$logType == null) {
                        if (other$logType == null) {
                            break label158;
                        }
                    } else if (this$logType.equals(other$logType)) {
                        break label158;
                    }

                    return false;
                }

                label151: {
                    Object this$logMethod = this.getLogMethod();
                    Object other$logMethod = other.getLogMethod();
                    if (this$logMethod == null) {
                        if (other$logMethod == null) {
                            break label151;
                        }
                    } else if (this$logMethod.equals(other$logMethod)) {
                        break label151;
                    }

                    return false;
                }

                Object this$logParamData = this.getLogParamData();
                Object other$logParamData = other.getLogParamData();
                if (this$logParamData == null) {
                    if (other$logParamData != null) {
                        return false;
                    }
                } else if (!this$logParamData.equals(other$logParamData)) {
                    return false;
                }

                label137: {
                    Object this$logCreateTime = this.getLogCreateTime();
                    Object other$logCreateTime = other.getLogCreateTime();
                    if (this$logCreateTime == null) {
                        if (other$logCreateTime == null) {
                            break label137;
                        }
                    } else if (this$logCreateTime.equals(other$logCreateTime)) {
                        break label137;
                    }

                    return false;
                }

                label130: {
                    Object this$logReturnTime = this.getLogReturnTime();
                    Object other$logReturnTime = other.getLogReturnTime();
                    if (this$logReturnTime == null) {
                        if (other$logReturnTime == null) {
                            break label130;
                        }
                    } else if (this$logReturnTime.equals(other$logReturnTime)) {
                        break label130;
                    }

                    return false;
                }

                Object this$logTimeConsume = this.getLogTimeConsume();
                Object other$logTimeConsume = other.getLogTimeConsume();
                if (this$logTimeConsume == null) {
                    if (other$logTimeConsume != null) {
                        return false;
                    }
                } else if (!this$logTimeConsume.equals(other$logTimeConsume)) {
                    return false;
                }

                Object this$logUserId = this.getLogUserId();
                Object other$logUserId = other.getLogUserId();
                if (this$logUserId == null) {
                    if (other$logUserId != null) {
                        return false;
                    }
                } else if (!this$logUserId.equals(other$logUserId)) {
                    return false;
                }

                label109: {
                    Object this$logReturnCode = this.getLogReturnCode();
                    Object other$logReturnCode = other.getLogReturnCode();
                    if (this$logReturnCode == null) {
                        if (other$logReturnCode == null) {
                            break label109;
                        }
                    } else if (this$logReturnCode.equals(other$logReturnCode)) {
                        break label109;
                    }

                    return false;
                }

                label102: {
                    Object this$logIsPhone = this.getLogIsPhone();
                    Object other$logIsPhone = other.getLogIsPhone();
                    if (this$logIsPhone == null) {
                        if (other$logIsPhone == null) {
                            break label102;
                        }
                    } else if (this$logIsPhone.equals(other$logIsPhone)) {
                        break label102;
                    }

                    return false;
                }

                Object this$logToken = this.getLogToken();
                Object other$logToken = other.getLogToken();
                if (this$logToken == null) {
                    if (other$logToken != null) {
                        return false;
                    }
                } else if (!this$logToken.equals(other$logToken)) {
                    return false;
                }

                Object this$logSource = this.getLogSource();
                Object other$logSource = other.getLogSource();
                if (this$logSource == null) {
                    if (other$logSource != null) {
                        return false;
                    }
                } else if (!this$logSource.equals(other$logSource)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof UserLog;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $logIp = this.getLogIp();
        result1 = result * 59 + ($logIp == null ? 43 : $logIp.hashCode());
        Object $logUri = this.getLogUri();
        result1 = result * 59 + ($logUri == null ? 43 : $logUri.hashCode());
        Object $logType = this.getLogType();
        result1 = result * 59 + ($logType == null ? 43 : $logType.hashCode());
        Object $logMethod = this.getLogMethod();
        result1 = result * 59 + ($logMethod == null ? 43 : $logMethod.hashCode());
        Object $logParamData = this.getLogParamData();
        result1 = result * 59 + ($logParamData == null ? 43 : $logParamData.hashCode());
        Object $logCreateTime = this.getLogCreateTime();
        result1 = result * 59 + ($logCreateTime == null ? 43 : $logCreateTime.hashCode());
        Object $logReturnTime = this.getLogReturnTime();
        result1 = result * 59 + ($logReturnTime == null ? 43 : $logReturnTime.hashCode());
        Object $logTimeConsume = this.getLogTimeConsume();
        result1 = result * 59 + ($logTimeConsume == null ? 43 : $logTimeConsume.hashCode());
        Object $logUserId = this.getLogUserId();
        result1 = result * 59 + ($logUserId == null ? 43 : $logUserId.hashCode());
        Object $logReturnCode = this.getLogReturnCode();
        result1 = result * 59 + ($logReturnCode == null ? 43 : $logReturnCode.hashCode());
        Object $logIsPhone = this.getLogIsPhone();
        result1 = result * 59 + ($logIsPhone == null ? 43 : $logIsPhone.hashCode());
        Object $logToken = this.getLogToken();
        result1 = result * 59 + ($logToken == null ? 43 : $logToken.hashCode());
        Object $logSource = this.getLogSource();
        result1 = result * 59 + ($logSource == null ? 43 : $logSource.hashCode());
        return result1;
    }
}
